package cn.cheqi.recovery.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 小区表的实体类
 * </p>
 *
 * @author Robin
 * @since 2020-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_community")
public class Community implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 小区id
     */
    @TableId(value = "community_id", type = IdType.AUTO)
    private Long communityId;

    /**
     * 小区名称
     */
    private String communityName;

    /**
     * 区域地址
     */
    private String areaAddress;

    /**
     * 详细地址
     */
    private String detailedAddress;

    /**
     * 小区经度

     */
    private String longitude;

    /**
     * 小区纬度
     */
    private String latitude;

    /**
     * 小区图片
     */
    private String communityPic;

    /**
     * 小区联系电话
     */
    private String communityPhone;


}
